<!DOCTYPE html>
<html>
<head>
	<title>连码</title>
	<meta charset="utf-8">
	<link rel="stylesheet" type="text/css" href="__STATIC__/zh/css/member-1.css">
	<script type="text/javascript" src="__STATIC__/zh/js/jquery-3.2.1.min.js"></script>
	<link href="__STATIC__/zh/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    	<link href="__STATIC__/zh/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
    	<style type="text/css">
    		.shengxiao>table>tbody>tr>td{
    			background: rgb(214,214,214);
    			text-align: center;
    			color: black;
    		}

    		.shengxiao{
    			border: 1px solid rgb(214,214,214);
    			display: none;
    		}

    		.shengxiao>table>tbody>tr>td>input{
    			width: 16px;
    			height: 16px;
    		}

    		input{
    			width: 16px;
    			height: 16px;
    		}
    	</style>
</head>
<body>
 	 <div class="middle">
    		<div class="head">


    			<div style="width: 15%;float: left;height: 60px;text-align: center;">
		    		<div class="poly">保利</div>
			</div>
			
			<div style="width: 85%;float: left;    margin-top: 40px;position: relative;">
			<div>
				<div  class="arrow-left"></div>
	    			 <div class="memu" >
					<span onclick="aaa()">密码设定</span>
					<span onclick="bbb()">下注状况</span>
					<span onclick="ccc()">账户历史</span>
					<span onclick="ddd()">规则说明</span>
					<span onclick="eee()">会员资料</span>
					<span onclick="fff()">开奖记录</span>
					<span onclick="ggg()">即时开奖</span>
					<span onclick="hhh()">客服</span>
					<span data-toggle="modal" data-target=".bs-example-modal-lg" class="fast">快速金额</span>
					<span onclick="jjj()">登出</span>
				</div>
			</div>
			<div style="clear: both;"></div>

			<div style="position: relative;">
				<div class="arrow-right"></div>
				<div class="memu1">
					<span onclick="kkk()">特码</span>
					<span onclick="lll()">正码</span>
					<span onclick="nnn()">正码特</span>
					<span onclick="mmm()">正码1-6</span>
					<span onclick="ooo()">正码过关</span>
					<span onclick="ppp()">特码生肖色波头尾数</span>
					<span onclick="qqq()">连码</span>
					<span onclick="rrr()">半波</span>
					<span onclick="sss()">正肖总肖七码</span>
					<span onclick="ttt()">连肖</span>
					<span onclick="uuu()">尾数连</span>
					<span onclick="vvv()">多肖</span>
					<span onclick="www()">一肖尾数七色波</span>
					<span onclick="xxx()">全不中</span>
					<span onclick="zzz()">多中一</span>
				</div>
			</div> 
			<div style="clear: both;"></div>
		</div> 
	</div>

	<script type="text/javascript">
			function aaa(){window.location.href="{:url('index/home/passchange')}"}
			function bbb(){window.location.href="{:url('index/home/condition')}"}
			function ccc(){window.location.href="{:url('index/home/history')}"}
			function ddd(){window.location.href="{:url('index/home/instrction')}"}
			function eee(){window.location.href="{:url('index/home/data')}"}
			function fff(){window.location.href="{:url('index/home/record')}"}
			function ggg(){window.location.href="{:url('index/home/lottery')}"}
			function hhh(){window.location.href="{:url('index/home/Customer')}?page=1"}
			function iii(){window.location.href=""}
			function jjj(){window.location.href="{:url('index/home/login1')}"}

			function kkk(){window.location.href="{:url('index/home/member1')}"}
			function lll(){window.location.href="{:url('index/home/member2')}"}
			function nnn(){window.location.href="{:url('index/home/member3')}"}
			function mmm(){window.location.href="{:url('index/home/member4')}"}
			function ooo(){window.location.href="{:url('index/home/member5')}"}
			function ppp(){window.location.href="{:url('index/home/member6')}"}
			function qqq(){window.location.href="{:url('index/home/member7')}"}
			function rrr(){window.location.href="{:url('index/home/member8')}"}
			function sss(){window.location.href="{:url('index/home/member9')}"}
			function ttt(){window.location.href="{:url('index/home/member10')}"}
			function uuu(){window.location.href="{:url('index/home/member11')}"}
			function vvv(){window.location.href="{:url('index/home/member12')}"}
			function www(){window.location.href="{:url('index/home/member13')}"}
			function xxx(){window.location.href="{:url('index/home/member14')}"}
			function zzz(){window.location.href="{:url('index/home/member15')}"}
		</script>

			<div class="left">
			<div style="  width: 100%" >

				<div class="infor">
					<div class="information">
						<div class="username">请检视您的账户</div>
						<table style="width: 100%;background: orange;font-size:14px">
							<thead>
								<tr>
									<td style="text-align: right;">会员账号：</td>
									<td style="text-align: left;">{$user.name} 
										<select name="Characters">

												<option value="1">A</option>

												<option value="2">B</option>

												<option value="3">C</option>

												<option value="4">D</option>
												
										</select>
									</td>
								</tr>
								<tr>
									<td style="text-align: right;">当前期数：</td>
									<td style="text-align: left;">香港六合彩{$opename}期</td>
								</tr>
								<tr>
									<td style="text-align: right;">信用额度：</td>
									<td style="text-align: left;">{$user.moneys}</td>
								</tr>
								<tr>
									<td style="text-align: right;">已用额度：</td>
									<td style="text-align: left;">{$user.employ}</td>
								</tr>
								<tr>
									<td style="text-align: right;">可用额度：</td>
									<td style="text-align: left;">{$user.m}</td>
								</tr>
								<tr>
									<td colspan="2" style="text-align: center;">请选择下注项目</td>
								</tr>
							</thead>
						</table>
						
						
					</div>
				</div>
					
					<div class="form" style="width: 100%;">
				                        <table style="width: 100%;">
				                            <thead>
				                            <tr>
				                            <td colspan="2">
				                            <div>最近十比交易记录</div>
				                            </td>
				                            <td colspan="2">
						<button class="update">更新</button>
						<button class="shud">x</button>
						</td>
				                            </tr>
				                                <tr class="money">
				                                    <th>时间</th>
				                                    <th>内容</th>
				                                    <th>赔率</th>
				                                    <th>金额</th>
				                                </tr>

				                            </thead>
				                            {foreach $orders as $os}
												<tr class="money" id="money">
													<th>{:date("m-d H:i",$os.times)}</th>
				                                    <th>{$os.bets}</th>
				                                    <th>{$os.rate}</th>
				                                    <th>{$os.price}</th>
												</tr>
											{/foreach}
				                        </table>
					</div>
				</div>
			</div>

	<!-- 模态框 -->
		<div id="modal-overlay"> 
	    	<div class="modal-data">        
		        	<div style="  width: 100%" >
		        		<div style="padding: 10px;">
					<div class="information" style="background-color: rgb(228, 223, 223)">
						<div style="width: 100%;border-bottom: 1px solid gray;    background: rgb(244, 151, 9) ;   font-weight: bold; font-size: 15px;">
							<table style="width: 100%">
								<tbody>
									<tr style="text-align: center;background:orange">
										连码&emsp;下注单
									</tr>
								</tbody>
							</table>
						</div>
					</div>

					<div>
						<div style="width: 100%;border-bottom: 1px solid gray; ">
							<table class="tableone">
								<tbody>
									<tr class="tan1">
										<th>账户名称</th>
										<td>{$user.name}</td>
									</tr>
									<tr class="tan1">
										<th>信用额度</th>
										<td>{$user.m}</td>
									</tr>

								</tbody>
							</table>
						</div>

						<div class="tableone" style="border-bottom: 1px solid gray;">
							<div style="    color: rgb(39, 121, 187);font-weight: bold;font-size: 15px;">期数&emsp;<span>{$opename}</span></div>
							<div style="    width: 80%; background: silver;margin: 10px auto;">
								<table class="tabletwo">
									<tbody class="xxx">
										<tr>
											<td class="x1">
											</td>
										<td>
										</td>

										<td class="x2">
										</td><td class="x3"><span></span></td></tr>
									</tbody>
								</table>
								<div class="peilv">
									<!-- <div >赔率：<span>40.09</span></div> -->
									
								</div>
							</div>

							<div style="width: 100%;border-bottom: 1px solid gray;border-top: 1px solid gray; ">
							<table class="tableone">
								<tbody>
									<tr class="tan1">
										<th>下注金额：</th>
										<td><input type="text" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" name="" style="width: 80px"></td>
									</tr>
									<tr class="tan2">
										<th>总下注金额：</th>
										<td style="color: red" id="m">0</td>
									</tr>
									<tr class="tan2">
										<th>最低限额：</th>
										<td>2</td>
									</tr>
									<tr class="tan2">
										<th>单注限额：</th>
										<td>50000</td>
									</tr>
									<tr class="tan2">
										<th>单项限额：</th>
										<td>50000</td>
									</tr>
									<tr class="tan2">
										<th>已使用信用：</th>
										<td>0</td>
									</tr>

								</tbody>
							</table>
						</div>
							<table style="width: 100%">
								<tbody>
									<tr style="text-align: center;">
										<td>
											<button class="cencel">取消下注</button>
											<button style="color: green;border:1px solid rgba(0, 188, 212, 0.6);border-radius: 
											3px;" onclick="confirmsingle();">确认下注</button>
										</td>
									</tr>
								</tbody>
							</table>
						</div>
						<div style="background: orange;font-size: 12px;">更新秒数：<em id="num" style="font-style:normal;color:red;"></em>&ensp;秒</div>
					</div>
				</div>	
			</div>
	    	</div>
	</div>

			<div class="right">
					<div class="anu">
					<div class="anunon"><span class="run">{foreach $announce as $an}{$an.content}{/foreach}</span></div>
					<button onclick="historynews()">历史消息</button>
				</div>

				<div class="bet">
					<div class="tema">
						<span style="color: rgb(30, 90, 120);">连码</span>
						<span style="color: white">香港时间:&ensp;<span id="time1" style="color: white;"></span></span>
						<span style="color: white">距截止下注还有   <span class="myDiv"><span id="div1"></span></span></span></span>
					</div>


					<div class="number" style="width: 100%;">
						<div style="width: 100%;" id="70">
							<table style="width: 20%;float: left;">
						                     <thead>
						                                <tr class="money1">
						                                    <th>号码</th>
						                                    <th>勾选</th>
						                                </tr>
						                    	</thead>
						                     <tbody>
						                      {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="1"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
						                                    	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number1" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="2"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
						                                    	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number2" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="3"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: blue;">{$r.name}</button></td>
						                                    	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number3" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="4"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: blue;">{$r.name}</button></td>
						                                    	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number4" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="5"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
						                                    	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="numebr5" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="6"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
						                                     	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number6" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="7"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
						                                     	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number7" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="8"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
						                                     	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number8" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="9"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</button></td>
						                                     	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number9" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="10"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</div></td>
						                                     	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number10" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                 {/eq}{/eq}
					                                {/foreach}
						                     </tbody>
						          	</table>

						          	<table style="width: 20%;float: left;">
						                     <thead>
						                                <tr class="money1">
						                                    <th>号码</th>
						                                    <th>勾选</th>
						                                </tr>
						                    	</thead>
						                     <tbody>
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="11"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number11" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="12"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number12" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="13"}
						                                 <tr class="money2">
									 	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                    		 	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="numeber13" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="14"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number14" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="15"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number15" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="16"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number16" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="17"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number17" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="18"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number18" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="19"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                    	 		<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number19" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="20"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</div></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number20" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                     </tbody>
						          	</table>

						          	<table style="width: 20%;float: left;">
						                     <thead>
						                                <tr class="money1">
						                                    <th>号码</th>
						                                    <th>勾选</th>
						                                </tr>
						                    	</thead>
						                     <tbody>
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="21"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number21" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="22"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number22" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="23"}
						                                 <tr class="money2">
									 	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number23" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="24"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number24" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="25"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background:blue;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number25" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="26"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number26" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="27"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number27" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="28"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number28" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="29"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number29" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="30"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</div></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number30" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                     </tbody>
						          	</table>

						          	<table style="width: 20%;float: left;">
						                     <thead>
						                                <tr class="money1">
						                                    <th>号码</th>
						                                    <th>勾选</th>
						                                </tr>
						                    	</thead>
						                     <tbody>
						                     {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="31"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: blue;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number31" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="32"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number32" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="33"}
						                                 <tr class="money2">
									 	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number33" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="34"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number34" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="35"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number35" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="36"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number36" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="37"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number37" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="38"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number38" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="39"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number39" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="40"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</div></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number40" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                     </tbody>
						          	</table>
				                                     
				                                <table style="width: 20%;float: left;">
						                     <thead>
						                                <tr class="money1">
						                                    <th>号码</th>
						                                    <th>勾选</th>
						                                </tr>
						                    	</thead>
						                     <tbody>
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="41"}
						                     		<tr class="money2">
						                                      	<td><button class="num" style="background: blue;">{$r.name}</button></td>
						                                     	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number41" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
			                                  
				                                		</tr>
				                                		     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="42"}
				                                		<tr class="money2">
				                                      			<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number42" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
								</tr>
								{/eq}{/eq}
					                                	{/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="43"}
									<tr class="money2">
				                                    			<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number43" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
				                               	 		</tr>
				                               	 		     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="44"}
				                               	 		<tr class="money2">
				                                    			<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number44" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
				                                		</tr>
				                                		     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="45"}
				                                		<tr class="money2">
				                                    			<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number45" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
				                                		</tr>
				                                		     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="46"}
				                                		<tr class="money2">
				                                    			<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number46" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
				                                		</tr>
				                                	 {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="47"}
				                                		<tr class="money2">
				                                    			<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number47" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
				                                		</tr>
				                                		     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="48"}
				                                		<tr class="money2">
				                                    			<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number48" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
				                                		</tr>
				                                		     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="1"}
				                            			{eq name="$r.bets" value="49"}
				                                		<tr class="money2">
				                                    			<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number49" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
			                               			</tr>
				                               		{/eq}{/eq}
					                                {/foreach}
				                               			<tr>
										<td colspan="2" style=" text-align: center;">
											<button style="color: green;    outline: 0;" onclick="betting();">发送</button>
				                                    				<button class="cancel" style="color: red;    outline: 0;">取消</button>
				                                    			</td>
				                                		</tr>     
				                                	</tbody>
				                            	</table>
				                            	</div>
				                            	<div style="clear: both;"></div>

							<div style="width: 100%;" id="71">
				                            	<table style="width: 20%;float: left;">
						                     <thead>
						                                <tr class="money1">
						                                    <th>号码</th>
						                                    <th>勾选</th>
						                                </tr>
						                    	</thead>
						                     <tbody>
						                      {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="1"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
						                                    	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number1" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="2"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
						                                    	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number2" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="3"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: blue;">{$r.name}</button></td>
						                                    	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number3" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="4"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: blue;">{$r.name}</button></td>
						                                    	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number4" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="5"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
						                                    	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="numebr5" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="6"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
						                                     	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number6" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="7"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
						                                     	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number7" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="8"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
						                                     	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number8" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="9"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</button></td>
						                                     	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number9" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="10"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</div></td>
						                                     	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number10" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                 {/eq}{/eq}
					                                {/foreach}
						                     </tbody>
						          	</table>

						          	<table style="width: 20%;float: left;">
						                     <thead>
						                                <tr class="money1">
						                                    <th>号码</th>
						                                    <th>勾选</th>
						                                </tr>
						                    	</thead>
						                     <tbody>
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="11"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number11" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="12"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number12" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="13"}
						                                 <tr class="money2">
									 	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                    		 	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="numeber13" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="14"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number14" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="15"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number15" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="16"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number16" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="17"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number17" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="18"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number18" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="19"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                    	 		<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number19" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="20"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</div></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number20" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                     </tbody>
						          	</table>

						          	<table style="width: 20%;float: left;">
						                     <thead>
						                                <tr class="money1">
						                                    <th>号码</th>
						                                    <th>勾选</th>
						                                </tr>
						                    	</thead>
						                     <tbody>
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="21"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number21" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="22"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number22" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="23"}
						                                 <tr class="money2">
									 	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number23" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="24"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number24" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="25"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background:blue;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number25" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="26"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number26" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="27"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number27" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="28"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number28" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="29"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number29" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="30"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</div></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number30" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                     </tbody>
						          	</table>

						          	<table style="width: 20%;float: left;">
						                     <thead>
						                                <tr class="money1">
						                                    <th>号码</th>
						                                    <th>勾选</th>
						                                </tr>
						                    	</thead>
						                     <tbody>
						                     {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="31"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: blue;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number31" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="32"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number32" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="33"}
						                                 <tr class="money2">
									 	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number33" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="34"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number34" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="35"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number35" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="36"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number36" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="37"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number37" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="38"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number38" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="39"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number39" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="40"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</div></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number40" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                     </tbody>
						          	</table>
				                                     
				                                <table style="width: 20%;float: left;">
						                     <thead>
						                                <tr class="money1">
						                                    <th>号码</th>
						                                    <th>勾选</th>
						                                </tr>
						                    	</thead>
						                     <tbody>
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="41"}
						                     		<tr class="money2">
						                                      	<td><button class="num" style="background: blue;">{$r.name}</button></td>
						                                     	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number41" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
			                                  
				                                		</tr>
				                                		     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="42"}
				                                		<tr class="money2">
				                                      			<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number42" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
								</tr>
								{/eq}{/eq}
					                                	{/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="43"}
									<tr class="money2">
				                                    			<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number43" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
				                               	 		</tr>
				                               	 		     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="44"}
				                               	 		<tr class="money2">
				                                    			<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number44" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
				                                		</tr>
				                                		     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="45"}
				                                		<tr class="money2">
				                                    			<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number45" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
				                                		</tr>
				                                		     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="46"}
				                                		<tr class="money2">
				                                    			<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number46" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
				                                		</tr>
				                                	 {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="47"}
				                                		<tr class="money2">
				                                    			<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number47" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
				                                		</tr>
				                                		     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="48"}
				                                		<tr class="money2">
				                                    			<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number48" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
				                                		</tr>
				                                		     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="2"}
				                            			{eq name="$r.bets" value="49"}
				                                		<tr class="money2">
				                                    			<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number49" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
			                               			</tr>
				                               		{/eq}{/eq}
					                                {/foreach}
				                               			<tr>
										<td colspan="2" style=" text-align: center;">
											<button style="color: green;    outline: 0;" onclick="betting();">发送</button>
				                                    				<button style="color: red;    outline: 0;">取消</button>
				                                    			</td>
				                                		</tr>     
				                                	</tbody>
				                            	</table>
				                            	</div>
				                            	<div style="clear: both;"></div>

				                            	<div style="width: 100%;" id="72">
				                            	<table style="width: 20%;float: left;">
						                     <thead>
						                                <tr class="money1">
						                                    <th>号码</th>
						                                    <th>勾选</th>
						                                </tr>
						                    	</thead>
						                     <tbody>
						                      {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="1"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
						                                    	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number1" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="2"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
						                                    	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number2" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="3"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: blue;">{$r.name}</button></td>
						                                    	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number3" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="4"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: blue;">{$r.name}</button></td>
						                                    	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number4" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="5"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
						                                    	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="numebr5" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="6"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
						                                     	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number6" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="7"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
						                                     	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number7" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="8"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
						                                     	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number8" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="9"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</button></td>
						                                     	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number9" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="10"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</div></td>
						                                     	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number10" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                 {/eq}{/eq}
					                                {/foreach}
						                     </tbody>
						          	</table>

						          	<table style="width: 20%;float: left;">
						                     <thead>
						                                <tr class="money1">
						                                    <th>号码</th>
						                                    <th>勾选</th>
						                                </tr>
						                    	</thead>
						                     <tbody>
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="11"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number11" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="12"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number12" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="13"}
						                                 <tr class="money2">
									 	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                    		 	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="numeber13" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="14"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number14" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="15"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number15" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="16"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number16" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="17"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number17" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="18"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number18" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="19"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                    	 		<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number19" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="20"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</div></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number20" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                     </tbody>
						          	</table>

						          	<table style="width: 20%;float: left;">
						                     <thead>
						                                <tr class="money1">
						                                    <th>号码</th>
						                                    <th>勾选</th>
						                                </tr>
						                    	</thead>
						                     <tbody>
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="21"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number21" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="22"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number22" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="23"}
						                                 <tr class="money2">
									 	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number23" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="24"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number24" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="25"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background:blue;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number25" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="26"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number26" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="27"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number27" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="28"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number28" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="29"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number29" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="30"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</div></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number30" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                     </tbody>
						          	</table>

						          	<table style="width: 20%;float: left;">
						                     <thead>
						                                <tr class="money1">
						                                    <th>号码</th>
						                                    <th>勾选</th>
						                                </tr>
						                    	</thead>
						                     <tbody>
						                     {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="31"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: blue;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number31" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="32"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number32" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="33"}
						                                 <tr class="money2">
									 	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number33" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="34"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number34" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="35"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number35" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="36"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number36" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="37"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number37" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="38"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number38" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="39"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number39" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="40"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</div></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number40" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                     </tbody>
						          	</table>
				                                     
				                                <table style="width: 20%;float: left;">
						                     <thead>
						                                <tr class="money1">
						                                    <th>号码</th>
						                                    <th>勾选</th>
						                                </tr>
						                    	</thead>
						                     <tbody>
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="41"}
						                     		<tr class="money2">
						                                      	<td><button class="num" style="background: blue;">{$r.name}</button></td>
						                                     	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number41" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
			                                  
				                                		</tr>
				                                		     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="42"}
				                                		<tr class="money2">
				                                      			<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number42" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
								</tr>
								{/eq}{/eq}
					                                	{/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="43"}
									<tr class="money2">
				                                    			<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number43" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
				                               	 		</tr>
				                               	 		     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="44"}
				                               	 		<tr class="money2">
				                                    			<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number44" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
				                                		</tr>
				                                		     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="45"}
				                                		<tr class="money2">
				                                    			<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number45" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
				                                		</tr>
				                                		     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="46"}
				                                		<tr class="money2">
				                                    			<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number46" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
				                                		</tr>
				                                	 {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="47"}
				                                		<tr class="money2">
				                                    			<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number47" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
				                                		</tr>
				                                		     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="48"}
				                                		<tr class="money2">
				                                    			<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number48" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
				                                		</tr>
				                                		     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="4"}
				                            			{eq name="$r.bets" value="49"}
				                                		<tr class="money2">
				                                    			<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number49" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
			                               			</tr>
				                               		{/eq}{/eq}
					                                {/foreach}
				                               			<tr>
										<td colspan="2" style=" text-align: center;">
											<button style="color: green;    outline: 0;" onclick="betting();">发送</button>
				                                    				<button style="color: red;    outline: 0;">取消</button>
				                                    			</td>
				                                		</tr>     
				                                	</tbody>
				                            	</table>
				                            	</div>
				                            	<div style="clear: both;"></div>


				                            	<div style="width: 100%;" id="73">
				                            	<table style="width: 20%;float: left;">
						                     <thead>
						                                <tr class="money1">
						                                    <th>号码</th>
						                                    <th>勾选</th>
						                                </tr>
						                    	</thead>
						                     <tbody>
						                      {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="1"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
						                                    	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number1" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="2"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
						                                    	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number2" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="3"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: blue;">{$r.name}</button></td>
						                                    	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number3" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="4"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: blue;">{$r.name}</button></td>
						                                    	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number4" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="5"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
						                                    	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="numebr5" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="6"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
						                                     	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number6" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="7"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
						                                     	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number7" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="8"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
						                                     	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number8" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="9"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</button></td>
						                                     	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number9" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="10"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</div></td>
						                                     	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number10" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                 {/eq}{/eq}
					                                {/foreach}
						                     </tbody>
						          	</table>

						          	<table style="width: 20%;float: left;">
						                     <thead>
						                                <tr class="money1">
						                                    <th>号码</th>
						                                    <th>勾选</th>
						                                </tr>
						                    	</thead>
						                     <tbody>
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="11"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number11" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="12"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number12" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="13"}
						                                 <tr class="money2">
									 	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                    		 	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="numeber13" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="14"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number14" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="15"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number15" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="16"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number16" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="17"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number17" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="18"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number18" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="19"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                    	 		<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number19" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="20"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</div></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number20" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                     </tbody>
						          	</table>

						          	<table style="width: 20%;float: left;">
						                     <thead>
						                                <tr class="money1">
						                                    <th>号码</th>
						                                    <th>勾选</th>
						                                </tr>
						                    	</thead>
						                     <tbody>
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="21"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number21" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="22"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number22" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="23"}
						                                 <tr class="money2">
									 	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number23" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="24"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number24" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="25"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background:blue;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number25" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="26"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number26" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="27"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number27" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="28"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number28" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="29"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number29" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="30"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</div></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number30" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                     </tbody>
						          	</table>

						          	<table style="width: 20%;float: left;">
						                     <thead>
						                                <tr class="money1">
						                                    <th>号码</th>
						                                    <th>勾选</th>
						                                </tr>
						                    	</thead>
						                     <tbody>
						                     {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="31"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: blue;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number31" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="32"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number32" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="33"}
						                                 <tr class="money2">
									 	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number33" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="34"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number34" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="35"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number35" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="36"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number36" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="37"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number37" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="38"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number38" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="39"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number39" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="40"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</div></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number40" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                     </tbody>
						          	</table>
				                                     
				                                <table style="width: 20%;float: left;">
						                     <thead>
						                                <tr class="money1">
						                                    <th>号码</th>
						                                    <th>勾选</th>
						                                </tr>
						                    	</thead>
						                     <tbody>
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="41"}
						                     		<tr class="money2">
						                                      	<td><button class="num" style="background: blue;">{$r.name}</button></td>
						                                     	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number41" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
			                                  
				                                		</tr>
				                                		     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="42"}
				                                		<tr class="money2">
				                                      			<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number42" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
								</tr>
								{/eq}{/eq}
					                                	{/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="43"}
									<tr class="money2">
				                                    			<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number43" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
				                               	 		</tr>
				                               	 		     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="44"}
				                               	 		<tr class="money2">
				                                    			<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number44" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
				                                		</tr>
				                                		     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="45"}
				                                		<tr class="money2">
				                                    			<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number45" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
				                                		</tr>
				                                		     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="46"}
				                                		<tr class="money2">
				                                    			<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number46" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
				                                		</tr>
				                                	 {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="47"}
				                                		<tr class="money2">
				                                    			<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number47" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
				                                		</tr>
				                                		     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="48"}
				                                		<tr class="money2">
				                                    			<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number48" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
				                                		</tr>
				                                		     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="5"}
				                            			{eq name="$r.bets" value="49"}
				                                		<tr class="money2">
				                                    			<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number49" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
			                               			</tr>
				                               		{/eq}{/eq}
					                                {/foreach}
				                               			<tr>
										<td colspan="2" style=" text-align: center;">
											<button style="color: green;    outline: 0;" onclick="betting();">发送</button>
				                                    				<button style="color: red;    outline: 0;">取消</button>
				                                    			</td>
				                                		</tr>     
				                                	</tbody>
				                            	</table>
				                            	</div>
				                            	<div style="clear: both;"></div>

				                            	<div style="width: 100%;" id="74">
				                            	<table style="width: 20%;float: left;">
						                     <thead>
						                                <tr class="money1">
						                                    <th>号码</th>
						                                    <th>勾选</th>
						                                </tr>
						                    	</thead>
						                     <tbody>
						                      {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="1"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
						                                    	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number1" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="2"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
						                                    	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number2" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="3"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: blue;">{$r.name}</button></td>
						                                    	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number3" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="4"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: blue;">{$r.name}</button></td>
						                                    	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number4" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="5"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
						                                    	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="numebr5" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="6"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
						                                     	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number6" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="7"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
						                                     	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number7" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="8"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
						                                     	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number8" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="9"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</button></td>
						                                     	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number9" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="10"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</div></td>
						                                     	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number10" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                 {/eq}{/eq}
					                                {/foreach}
						                     </tbody>
						          	</table>

						          	<table style="width: 20%;float: left;">
						                     <thead>
						                                <tr class="money1">
						                                    <th>号码</th>
						                                    <th>勾选</th>
						                                </tr>
						                    	</thead>
						                     <tbody>
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="11"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number11" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="12"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number12" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="13"}
						                                 <tr class="money2">
									 	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                    		 	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="numeber13" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="14"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number14" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="15"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number15" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="16"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number16" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="17"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number17" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="18"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number18" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="19"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                    	 		<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number19" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="20"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</div></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number20" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                     </tbody>
						          	</table>

						          	<table style="width: 20%;float: left;">
						                     <thead>
						                                <tr class="money1">
						                                    <th>号码</th>
						                                    <th>勾选</th>
						                                </tr>
						                    	</thead>
						                     <tbody>
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="21"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number21" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="22"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number22" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="23"}
						                                 <tr class="money2">
									 	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number23" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="24"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number24" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="25"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background:blue;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number25" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="26"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number26" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="27"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number27" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="28"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number28" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="29"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number29" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="30"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</div></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number30" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                {/eq}{/eq}
					                                {/foreach}
						                     </tbody>
						          	</table>

						          	<table style="width: 20%;float: left;">
						                     <thead>
						                                <tr class="money1">
						                                    <th>号码</th>
						                                    <th>勾选</th>
						                                </tr>
						                    	</thead>
						                     <tbody>
						                     {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="31"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: blue;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number31" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="32"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number32" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="33"}
						                                 <tr class="money2">
									 	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number33" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="34"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number34" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="35"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number35" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="36"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number36" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="37"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number37" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="38"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number38" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="39"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number39" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="40"}
						                                <tr class="money2">
						                                    	<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</div></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number40" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
						                                </tr>
						                                     {/eq}{/eq}
					                                {/foreach}
						                     </tbody>
						          	</table>
				                                     
				                                <table style="width: 20%;float: left;">
						                     <thead>
						                                <tr class="money1">
						                                    <th>号码</th>
						                                    <th>勾选</th>
						                                </tr>
						                    	</thead>
						                     <tbody>
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="41"}
						                     		<tr class="money2">
						                                      	<td><button class="num" style="background: blue;">{$r.name}</button></td>
						                                     	<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number41" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
			                                  
				                                		</tr>
				                                		     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="42"}
				                                		<tr class="money2">
				                                      			<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number42" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
								</tr>
								{/eq}{/eq}
					                                	{/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="43"}
									<tr class="money2">
				                                    			<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number43" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
				                               	 		</tr>
				                               	 		     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="44"}
				                               	 		<tr class="money2">
				                                    			<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number44" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
				                                		</tr>
				                                		     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="45"}
				                                		<tr class="money2">
				                                    			<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number45" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
				                                		</tr>
				                                		     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="46"}
				                                		<tr class="money2">
				                                    			<td><button class="num" style="   background: rgb(220, 50, 40)">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number46" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
				                                		</tr>
				                                	 {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="47"}
				                                		<tr class="money2">
				                                    			<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number47" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
				                                		</tr>
				                                		     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="48"}
				                                		<tr class="money2">
				                                    			<td><button class="num" style="background: rgb(34, 61, 212);">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number48" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
				                                		</tr>
				                                		     {/eq}{/eq}
					                                {/foreach}
						                               {foreach $res as $r}
				                            			{eq name="$r.colums" value="6"}
				                            			{eq name="$r.bets" value="49"}
				                                		<tr class="money2">
				                                    			<td><button class="num" style="background: green;">{$r.name}</button></td>
				                                     			<td style="color:green;"><input type="checkbox" class="increase" data-id="{$r.bets}" data-colums="{$r.colums}" data-ra="{$r.ra}" data-name="{$r.name}"    name="number49" onClick="doCheck(this)"><span class="an">{$r.ra}</span></td>
			                               			</tr>
				                               		{/eq}{/eq}
					                                {/foreach}
				                               			<tr>
										<td colspan="2" style=" text-align: center;">
											<button style="color: green;    outline: 0;" onclick="betting();">发送</button>
				                                    				<button style="color: red;    outline: 0;">取消</button>
				                                    			</td>
				                                		</tr>     
				                                	</tbody>
				                            	</table>
				                            	</div>
				                            	<div style="clear: both;"></div>


				                            	<div style="width: 100%;">
				                            <table style="width: 100%">
				                              <thead>
				                               		<tr class="money4">
										<td>类型</td>
										<td ><input type="radio" name="aaa" id="75" data-id="0">三全中</td>
										<td ><input type="radio" name="aaa" data-toggle="modal" data-target=".bs-example-modal-sm" id="76" data-id="1">三中二</td>
										<td ><input type="radio" name="aaa" id="77" data-id="2">二全中</td>
										<td ><input type="radio" name="aaa" id="78" data-id="3">二中特</td>
										<td ><input type="radio" name="aaa" id="79" data-id="4">特串</td>
								</tr>
				                            </thead>

				                            <tbody>
								<tr  style="    background: rgba(217, 217, 217, 0.69);text-align: center; font-size: 14px; ">
								 	<td rowspan="2" >赔率</td>
									<td rowspan="2" style="color: rgb(33, 150, 243);font-weight: bold;">三全中</td>
									<td style="color: rgb(33, 150, 243);;font-weight: bold;">中二</td>
									<td  rowspan="2" style="color: rgb(33, 150, 243);;font-weight: bold;">二全中</td>
									<td style="color: rgb(33, 150, 243);;font-weight: bold;">中特</td>
									<td rowspan="2" style="color: rgb(33, 150, 243);;font-weight: bold;">特串</td>
								</tr>
								<tr  style="    background: rgba(217, 217, 217, 0.69);text-align: center; font-size: 14px; ">
									<td style="color: rgb(33, 150, 243);;font-weight: bold;">中三</td>
									<td style="color: rgb(33, 150, 243);;font-weight: bold;">中二</td>
								</tr>
				                            </tbody>
				                            </table>

				                            <table style="width: 100%">

				                              <thead>
				                               		<tr class="money4">
										<td ><input type="radio" name="bbb" id="86">复选
										<input type="radio" name="bbb" id="87">胆拖
										<input type="radio" name="bbb" id="83">生肖对碰
										<input type="radio" name="bbb" id="84">尾数对碰
										<input type="radio" name="bbb" id="85">生肖尾数对碰</td>

										<td>胆1<input type="text" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" class="dan1" style="width: 40px;border-radius: 5px;    border: 1px solid rgb(3, 169, 244);height: 25px;">                        
										胆2<input type="text" onkeypress="return event.keyCode>=48&&event.keyCode<=57" ng-pattern="/[^a-zA-Z]/" class="dan2" style="width: 40px;border-radius: 5px;    border: 1px solid rgb(3, 169, 244);height: 25px;"></td>
								</tr>
				                            </thead>
				                            </table>
						

						<!-- 生肖对碰 -->
				                            <div class="shengxiao" id="80">
				                            		<table style="width: 100%;">
				                            			<tbody>
				                            				<tr>
				                            					<td><span>鼠</span><input data-id="2" type="radio" name="aa" id="aa1"></td>
				                            					<td><span>牛</span><input data-id="2" type="radio" name="aa" id="aa2"></td>
				                            					<td><span>虎</span><input data-id="2" type="radio" name="aa" id="aa3"></td>
				                            					<td><span>兔</span><input data-id="2" type="radio" name="aa" id="aa4"></td>
				                            					<td><span>龙</span><input data-id="2" type="radio" name="aa" id="aa5"></td>
				                            					<td><span>蛇</span><input data-id="2" type="radio" name="aa" id="aa6"></td>
				                            					<td><span>马</span><input data-id="2" type="radio" name="aa" id="aa7"></td>
				                            					<td><span>羊</span><input data-id="2" type="radio" name="aa" id="aa8"></td>
				                            					<td><span>猴</span><input data-id="2" type="radio" name="aa" id="aa9"></td>
				                            					<td><span>鸡</span><input data-id="2" type="radio" name="aa" id="aa10"></td>
				                            					<td><span>狗</span><input data-id="2" type="radio" name="aa" id="aa11"></td>
				                            					<td><span>猪</span><input data-id="2" type="radio" name="aa" id="aa12"></td>
				                            				</tr>
				                            				<tr>
				                            					<td><span>鼠</span><input data-id="2" type="radio" name="ab" id="ab1"></td>
				                            					<td><span>牛</span><input data-id="2" type="radio" name="ab" id="ab2"></td>
				                            					<td><span>虎</span><input data-id="2" type="radio" name="ab" id="ab3"></td>
				                            					<td><span>兔</span><input data-id="2" type="radio" name="ab" id="ab4"></td>
				                            					<td><span>龙</span><input data-id="2" type="radio" name="ab" id="ab5"></td>
				                            					<td><span>蛇</span><input data-id="2" type="radio" name="ab" id="ab6"></td>
				                            					<td><span>马</span><input data-id="2" type="radio" name="ab" id="ab7"></td>
				                            					<td><span>羊</span><input data-id="2" type="radio" name="ab" id="ab8"></td>
				                            					<td><span>猴</span><input data-id="2" type="radio" name="ab" id="ab9"></td>
				                            					<td><span>鸡</span><input data-id="2" type="radio" name="ab" id="ab10"></td>
				                            					<td><span>狗</span><input data-id="2" type="radio" name="ab" id="ab11"></td>
				                            					<td><span>猪</span><input data-id="2" type="radio" name="ab" id="ab12"></td>
				                            				</tr>
				                            			</tbody>
				                            		</table>
				                            </div>


						<!-- 尾数对碰 -->
				                             <div class="shengxiao" id="81">
				                            		<table style="width: 100%;">
				                            			<tbody>
				                            				<tr>
				                            					<td>0尾<input data-id="1" type="radio" id="aa1" data-ids="10" name="wsa"></td>
				                            					<td>1尾<input data-id="1" type="radio" id="aa2" data-ids="1" name="wsa"></td>
				                            					<td>2尾<input data-id="1" type="radio" id="aa3" data-ids="2" name="wsa"></td>
				                            					<td>3尾<input data-id="1" type="radio" id="aa4" data-ids="3" name="wsa"></td>
				                            					<td>4尾<input data-id="1" type="radio" id="aa5" data-ids="4" name="wsa"></td>
				                            					<td>5尾<input data-id="1" type="radio" id="aa6" data-ids="5" name="wsa"></td>
				                            					<td>6尾<input data-id="1" type="radio" id="aa7" data-ids="6" name="wsa"></td>
				                            					<td>7尾<input data-id="1" type="radio" id="aa8" data-ids="7" name="wsa"></td>
				                            					<td>8尾<input data-id="1" type="radio" id="aa9" data-ids="8" name="wsa"></td>
				                            					<td>9尾<input data-id="1" type="radio" id="aa10" data-ids="9" name="wsa"></td>
				                            				</tr>
				                            				<tr>
				                            					<td>0尾<input data-id="1" type="radio" id="ab1" data-ids="10" name="wsb"></td>
				                            					<td>1尾<input data-id="1" type="radio" id="ab2" data-ids="1" name="wsb"></td>
				                            					<td>2尾<input data-id="1" type="radio" id="ab3" data-ids="2" name="wsb"></td>
				                            					<td>3尾<input data-id="1" type="radio" id="ab4" data-ids="3" name="wsb"></td>
				                            					<td>4尾<input data-id="1" type="radio" id="ab5" data-ids="4" name="wsb"></td>
				                            					<td>5尾<input data-id="1" type="radio" id="ab6" data-ids="5" name="wsb"></td>
				                            					<td>6尾<input data-id="1" type="radio" id="ab7" data-ids="6" name="wsb"></td>
				                            					<td>7尾<input data-id="1" type="radio" id="ab8" data-ids="7" name="wsb"></td>
				                            					<td>8尾<input data-id="1" type="radio" id="ab9" data-ids="8" name="wsb"></td>
				                            					<td>9尾<input data-id="1" type="radio" id="ab10" data-ids="9" name="wsb"></td>
				                            				</tr>
				                            			</tbody>
				                            		</table>
				                            </div>
						

						<!-- 生肖尾数对碰 -->
				                            <div class="shengxiao" id="82">
				                            		<table style="width: 100%;">
				                            			<tbody>
				                            				<tr>
				                            					<td>0尾<input data-id="3" type="radio" data-ids="10" name="wsa"></td>
				                            					<td>1尾<input data-id="3" type="radio" data-ids="1" name="wsa"></td>
				                            					<td>2尾<input data-id="3" type="radio" data-ids="2" name="wsa"></td>
				                            					<td>3尾<input data-id="3" type="radio" data-ids="3" name="wsa"></td>
				                            					<td>4尾<input data-id="3" type="radio" data-ids="4" name="wsa"></td>
				                            					<td>5尾<input data-id="3" type="radio" data-ids="5" name="wsa"></td>
				                            					<td>6尾<input data-id="3" type="radio" data-ids="6" name="wsa"></td>
				                            					<td>7尾<input data-id="3" type="radio" data-ids="7" name="wsa"></td>
				                            					<td>8尾<input data-id="3" type="radio" data-ids="8" name="wsa"></td>
				                            					<td>9尾<input data-id="3" type="radio" data-ids="9" name="wsa"></td>
				                            					<td>&emsp;</td>
				                            					<td>&emsp;</td>
				                            				</tr>
				                            				<tr>
				                            					<td><span>鼠</span><input data-id="3" type="radio" name="ab" id="ab1"></td>
				                            					<td><span>牛</span><input data-id="3" type="radio" name="ab" id="ab2"></td>
				                            					<td><span>虎</span><input data-id="3" type="radio" name="ab" id="ab3"></td>
				                            					<td><span>兔</span><input data-id="3" type="radio" name="ab" id="ab4"></td>
				                            					<td><span>龙</span><input data-id="3" type="radio" name="ab" id="ab5"></td>
				                            					<td><span>蛇</span><input data-id="3" type="radio" name="ab" id="ab6"></td>
				                            					<td><span>马</span><input data-id="3" type="radio" name="ab" id="ab7"></td>
				                            					<td><span>羊</span><input data-id="3" type="radio" name="ab" id="ab8"></td>
				                            					<td><span>猴</span><input data-id="3" type="radio" name="ab" id="ab9"></td>
				                            					<td><span>鸡</span><input data-id="3" type="radio" name="ab" id="ab10"></td>
				                            					<td><span>狗</span><input data-id="3" type="radio" name="ab" id="ab11"></td>
				                            					<td><span>猪</span><input data-id="3" type="radio" name="ab" id="ab12"></td>
				                            				</tr>
				                            			</tbody>
				                            		</table>
				                            </div>

				                            <div style="width: 100%;height: 80px;">

				                            </div>               
					</div>
					<div style="clear: both;"></div>
							

   		<div id="news">
    			<div class="new">
    				<div class="down">x</div>
				<div class="newtime">
					<span>{foreach $announce as $an}{$an.content}{/foreach}</span>
				</div>
				<div class="oldtime">
					
				</div>
    			</div>
    		</div>

		<!-- 全局js -->
		<script src="__STATIC__/js/jquery.min.js?v=2.1.4"></script>
		<script src="__STATIC__/js/bootstrap.min.js?v=3.3.6"></script>
		<script type="text/javascript">
		    var dataTime = {$s};
		    //时间戳转dddd-mm-dd HH24:hh:MM:ss
		    var d = new Date(dataTime * 1000);
		    var date = (d.getFullYear()) + "-" + (d.getMonth() + 1) + "-" + (d.getDate()) + "-" + (d.getHours()) + ":" + (d.getMinutes()) + ":" + (d.getSeconds());
		    var startTime = date;
		    // console.info(startTime)
		    function count() {
		        var currTime = new Date(); //当前时间  
		        //将xxxx-xx-xx的时间格式，转换为 xxxx/xx/xx的格式  
		        startTime = startTime.replace(/\-/g, "/");
		        var sTime = new Date(startTime);
		        var totalTime = sTime.getTime() - currTime.getTime();
		        var days = parseInt(totalTime / parseInt(1000 * 60 * 60 * 24));
		        totalTime = totalTime % parseInt(1000 * 60 * 60 * 24);
		        var hours = parseInt(totalTime / parseInt(1000 * 60 * 60));
		        totalTime = totalTime % parseInt(1000 * 60 * 60);
		        var minutes = parseInt(totalTime / parseInt(1000 * 60));
		        totalTime = totalTime % parseInt(1000 * 60);
		        var seconds = parseInt(totalTime / parseInt(1000));
		        var time = "";
		        if(days<1&& hours >= 1){
		            time = hours + "时" + minutes + "分" + seconds + "秒";
		        }else if(hours<1&&minutes >= 1){
		            time = minutes + "分" + seconds + "秒";
		        }else{
		             time = seconds + "秒";
		        }
		        document.getElementById("div1").innerHTML = "" + time + " 结束";
		        setTimeout("count()", 1000);
		    }
		    window.onload = count;

		    //公告轮播
			 $(function(){
				var price = 0
				//轮播
				var left = 0;
				function move(){
					left--
					if (left < -$(".run").width()) {
						left = 0
					}
					$(".run").css("left",left+"px")
				}
				setInterval(move,40)
			})
    	</script>
		

		
		<script type="text/javascript">
			/**
			 * 获得指定数组的所有组合
			 */
			function arrayCombine(targetArr,n) {
			    if(!targetArr || !targetArr.length) {
			        return [];
			    }
			 
			    var len = targetArr.length;
			    var resultArrs = [];
			 
			    // 所有组合
		        var flagArrs = getFlagArrs(len, n);
		        while(flagArrs.length) {
		            var flagArr = flagArrs.shift();
		            var combArr = [];
		            for(var i = 0; i < len; i++) {
		                flagArr[i] && combArr.push(targetArr[i]);
		            }
		            resultArrs.push(combArr);
		        }
			     
			    return resultArrs;
			}
			 
			 
			/**
			 * 获得从m中取n的所有组合
			 */
			function getFlagArrs(m, n) {
			    if(!n || n < 1) {
			        return [];
			    }
			 
			    var resultArrs = [],
			        flagArr = [],
			        isEnd = false,
			        i, j, leftCnt;
			 
			    for (i = 0; i < m; i++) {
			        flagArr[i] = i < n ? 1 : 0;
			    }
			 
			    resultArrs.push(flagArr.concat());
			 
			    while (!isEnd) {
			        leftCnt = 0;
			        for (i = 0; i < m - 1; i++) {
			            if (flagArr[i] == 1 && flagArr[i+1] == 0) {
			                for(j = 0; j < i; j++) {
			                    flagArr[j] = j < leftCnt ? 1 : 0;
			                }
			                flagArr[i] = 0;
			                flagArr[i+1] = 1;
			                var aTmp = flagArr.concat();
			                resultArrs.push(aTmp);
			                if(aTmp.slice(-n).join("").indexOf('0') == -1) {
			                    isEnd = true;
			                }
			                break;
			            }
			            flagArr[i] == 1 && leftCnt++;
			        }
			    }
			    return resultArrs;
			}
			var das1 = [];
			var initilizes = 0;
			var bet_x;//全局变量,记录是哪个类型 
			var items = [];//初始化为一个数组来存放数据
			var itembet="" ;//初始化为一个字符串
			var itembet2="";//记录选择生肖的字符串
			var c=0;
			var rate = 0;
			var topNum = 0;//特串的底数为49 
			var storage=window.localStorage;
			var short;//至少勾选的个数(点击类别获取最少和最多的个数)
			var limit;//最多勾选的个数
			function doCheck(obj) { 
				obj.checked?c++:c--; 
				if(c>limit){ 
				// obj.checked=false; 
				// alert("最多只能勾选"+limit+"个生肖"); 
				c--; 
				}
			} 
			//点击三全中
			$(function() {
	    			$("#75").trigger("click");//触发button的click事件
			});
			$("#86").click();//默认点击复选按钮
			//点击复选或者胆拖恢复三全中和三中二的点击功能 
			$("#86").click(function(){
				$("#75").click();
				$("#75").removeAttr("disabled")
				$("#76").removeAttr("disabled")
			})
			$("#87").click(function(){
				$("#75").click();
				$("#75").removeAttr("disabled")
				$("#76").removeAttr("disabled")
			})

			var firstFlag = 0;
			//生肖对碰,尾数对碰,生肖尾数对碰不能选择三全中和三中二
			$("input[type='radio']").click(function(){
				var input_id = $(this).attr("id");
				if (input_id == 83){
					firstFlag = 1;
					$("#77").click();
					$("#75").attr('disabled',"true");
					$("#76").attr('disabled',"true");
					$("input[data-id=1]").attr("checked",false);
					$("input[data-id=3]").attr("checked",false);
				}
				if (input_id == 84){
					firstFlag = 2;
					$("#77").click();
					$("#75").attr('disabled',"true");
					$("#76").attr('disabled',"true");
					$("input[data-id=2]").attr("checked",false);
					$("input[data-id=3]").attr("checked",false);
				}
				if (input_id == 85){
					firstFlag = 3;
					$("#77").click();
					$("#75").attr('disabled',"true");
					$("#76").attr('disabled',"true");
					$("input[data-id=1]").attr("checked",false);
					$("input[data-id=2]").attr("checked",false);
				}
			})

			//生肖对碰,不同的生肖之间可以互碰,相同的生肖之间不可以互碰
			$("input[type='radio']").click(function(){
				var input_id = $(this).attr("id");
				if (input_id == "aa1"){
					$("#ab1").attr("checked",false);
				}
				if (input_id == "ab1"){
					$("#aa1").attr("checked",false);
				}
				if (input_id == "aa2"){
					$("#ab2").attr("checked",false);
				}
				if (input_id == "ab2"){
					$("#aa2").attr("checked",false);
				}
				if (input_id == "aa3"){
					$("#ab3").attr("checked",false);
				}
				if (input_id == "ab3"){
					$("#aa3").attr("checked",false);
				}
				if (input_id == "aa4"){
					$("#ab4").attr("checked",false);
				}
				if (input_id == "ab4"){
					$("#aa4").attr("checked",false);
				}
				if (input_id == "aa5"){
					$("#ab5").attr("checked",false);
				}
				if (input_id == "ab5"){
					$("#aa5").attr("checked",false);
				}
				if (input_id == "aa6"){
					$("#ab6").attr("checked",false);
				}
				if (input_id == "ab6"){
					$("#aa6").attr("checked",false);
				}
				if (input_id == "aa7"){
					$("#ab7").attr("checked",false);
				}
				if (input_id == "ab7"){
					$("#aa7").attr("checked",false);
				}
				if (input_id == "aa8"){
					$("#ab8").attr("checked",false);
				}
				if (input_id == "ab8"){
					$("#aa8").attr("checked",false);
				}
				if (input_id == "aa9"){
					$("#ab9").attr("checked",false);
				}
				if (input_id == "ab9"){
					$("#aa9").attr("checked",false);
				}
				if (input_id == "aa10"){
					$("#ab10").attr("checked",false);
				}
				if (input_id == "ab10"){
					$("#aa10").attr("checked",false);
				}
				if (input_id == "aa11"){
					$("#ab11").attr("checked",false);
				}
				if (input_id == "ab11"){
					$("#aa11").attr("checked",false);
				}
				if (input_id == "aa12"){
					$("#ab12").attr("checked",false);
				}
				if (input_id == "ab12"){
					$("#aa12").attr("checked",false);
				}
			})

			//记录第一行和第二行选中的生肖
			var name1;
			var name2;
			var selectArr1 = []; //第一行生肖的号码
			var selectArr_1 = [];
			var selectArr2 = []; //第二行生肖的号码
			var selectArr_2 = [];
			var arr1 = [];
			var arr2 = [];

			//所有生肖的号码
	        var zodiac = {$zodiac};
			console.log(zodiac);


			//点击生肖之后获取号码
			$('input:radio[data-id=2]').change(function(){  
	         	name1 = $('input:radio[name="aa"]:checked').prev().html();
	         	name2 = $('input:radio[name="ab"]:checked').prev().html();

	         	selectArr1 = zodiac[name1];
				selectArr2 = zodiac[name2];
				
				//取消上一次勾选的号码
				for (var i=0; i<selectArr_1.length; i++){
	         		$("#"+page+"").find("input[data-id="+selectArr_1[i]+"]").prop('checked',false);
	         	}
	         	for (var i=0; i<selectArr_2.length; i++){
	         		$("#"+page+"").find("input[data-id="+selectArr_2[i]+"]").prop('checked',false);
	         	}
	         	//勾选生肖对应的号码
	         	for (var i=0; i<selectArr1.length; i++){
	         		$("#"+page+"").find("input[data-id="+selectArr1[i]+"]").prop('checked',true);
	         	}
	         	for (var i=0; i<selectArr2.length; i++){
	         		$("#"+page+"").find("input[data-id="+selectArr2[i]+"]").prop('checked',true);
	         	}
	         	
		        selectArr_1 = selectArr1;
		        selectArr_2 = selectArr2;
	        });
			$('input:radio[data-id=1]').change(function(){
				name1 = $('input:radio[name="wsa"]:checked').attr('data-ids');
				name2 = $('input:radio[name="wsb"]:checked').attr('data-ids');
				arr2 = [];
				arr1 = [];
				for(var i=1;i<50;i++){
					if(i<10&& name1 == i){
						arr1.push(i); 
					}else{
						if(i / 1 % 10==name1){
							 arr1.push(i);
						}
					}
					if(name1==10){
						if(i%name1==0){
							arr1.push(i);
						}
					}
				}
				for(var i=1;i<50;i++){
					if(i<10&& name2 == i){
						arr2.push(i); 
					}else{
						if(i / 1 % 10==name2){
							 arr2.push(i);
						}
					}
					if(name2==10){
						if(i%name2==0){
							arr2.push(i);
						}
					}
				}
				//取消上一次勾选的号码
				for (var i=0; i<selectArr_1.length; i++){
	         		$("#"+page+"").find("input[data-id="+selectArr_1[i]+"]").prop('checked',false);
	         	}
	         	for (var i=0; i<selectArr_2.length; i++){
	         		$("#"+page+"").find("input[data-id="+selectArr_2[i]+"]").prop('checked',false);
	         	}
	         	//勾选生肖对应的号码
	         	for (var i=0; i<arr1.length; i++){
	         		$("#"+page+"").find("input[data-id="+arr1[i]+"]").prop('checked',true);
	         	}
	         	for (var i=0; i<arr2.length; i++){
	         		$("#"+page+"").find("input[data-id="+arr2[i]+"]").prop('checked',true);
	         	}
	         	selectArr_1 = arr1;
		        selectArr_2 = arr2;
			})
			$('input:radio[data-id=3]').change(function(){
				name1 = $('input:radio[name="wsa"]:checked').attr('data-ids');
				name2 = $('input:radio[name="ab"]:checked').prev().html();
				console.log(name2);
				arr1 = [];
				for(var i=1;i<50;i++){
					if(i<10&& name1 == i){
						arr1.push(i); 
					}else{
						if(i / 1 % 10==name1){
							 arr1.push(i);
						}
					}
					if(name1==10){
						if(i%name1==0){
							arr1.push(i);
						}
					}
				}
				selectArr2 = zodiac[name2];
				console.log(selectArr2)
				//取消上一次勾选的号码
				for (var i=0; i<selectArr_1.length; i++){
	         		$("#"+page+"").find("input[data-id="+selectArr_1[i]+"]").prop('checked',false);
	         	}
	         	for (var i=0; i<selectArr_2.length; i++){
	         		$("#"+page+"").find("input[data-id="+selectArr_2[i]+"]").prop('checked',false);
	         	}
	         	//勾选生肖对应的号码
	         	for (var i=0; i<arr1.length; i++){
	         		$("#"+page+"").find("input[data-id="+arr1[i]+"]").prop('checked',true);
	         	}
	         	for (var i=0; i<selectArr2.length; i++){
	         		$("#"+page+"").find("input[data-id="+selectArr2[i]+"]").prop('checked',true);
	         	}
	         	selectArr_1 = arr1;
		        selectArr_2 = selectArr2;
			})

	       
			$('input[name=bbb]').click(function(){
				$(this).attr("checked",'checked');
			}) 
			//转换类别的时候,之前勾选的checkbox的状态变为false,同时记录勾选的个数c清零 
			$('input[name=aaa]').click(function(res){
				$(":checkbox").attr("checked",false);
				c= 0;
			})

			var data;
			var price = 0;
			var storage=window.localStorage;
			var items = [];
			var item1;
			var fals = 1;
			var item_template='<div style="color: red;"><b>连码&emsp;[A]&ensp;@&ensp;</b>确定见每组赔率</div><div style="color: red"><b>[B]</b></div><div><b>[X]</b>组合&ensp;共&ensp;[M]&ensp;组</div>';
			
			//历史消息模态框
			$('.down').click(function(){
				var e1 = document.getElementById('news');        
				e1.style.visibility = (e1.style.visibility == "hidden")? "visible" : "hidden";
			})
			// 判断是否给踢线
			window.setInterval(show,5000); 
			function show(){ 
				$.getJSON("{:url('index/login/sta')}",function(result){
					if(result==false) window.location.href="{:url('index/login/logout')}";
				})
			}
			function historynews(){
				var e1 = document.getElementById('news');        
				e1.style.visibility = (e1.style.visibility == "visible")? "hidden" : "visible";
			}

			// $("#95").attr("checked","checked");
			// short = 3;
			// limit = 3;
			// bet_x = "3肖";
			var page;
			var colums=1;
			var down_num = 0;
			var typeFlag = true;//判断是那种类型(前两种类型用第一种算法,后面三种类型用第二种算法)
			//点击确定是几中一
			//short是勾选号码的最小值,limit是勾选号码的最大值,bet_x是类别
			$("input[type='radio']").click(function(){
				var input_id = $(this).attr("id");
				if (input_id == 75){
					down_num = 3;
					short = 3;
					limit = 3;
					topNum = 3;
					bet_x = "三全中";
					typeFlag = true;
					page = 70;
					colums=1;
				} 
				if (input_id == 76){
					down_num = 3;
					short = 3;
					limit = 3;
					topNum = 3;
					bet_x = "三中二";
					typeFlag = true;
					page = 71;
					colums=2;
				} 
				if (input_id == 77){
					down_num = 2;
					short = 2;
					limit = 2;
					topNum = 2;
					bet_x = "二全中";
					typeFlag = false;
					page = 72;
					colums=4;
				} 
				if (input_id == 78){
					down_num = 2;
					short = 2;
					limit = 2;
					topNum = 2;
					bet_x = "二中特";
					typeFlag = false;
					page = 73;
					colums=5;
				} 
				if (input_id == 79){
					down_num = 2;
					short = 2;
					limit = 2;
					topNum = 49;
					bet_x = "特串";
					typeFlag = false;
					page = 74;
					colums=7;
				} 
				// console.log(down_num)
			})

			$(".cancel").click(function(){
				$("input[type=checkbox]").attr("checked",false);
			})

			//记录胆1的数字
			var judge1;
			$(".dan1").blur(function(){
				judge1 = $(this).val();
			})
			//记录胆2的数字
			var judge2;
			$(".dan2").blur(function(){
				judge2 = $(this).val();
			})

			var trArr = [];//列出每一种号码的组合
       		var rateArr = [];//记录每一种组合的赔率
       		var z = 0;
			//下注模态框
				function betting(){
			   var check_num = $("input[type='checkbox']:checked").length;//获取选中checkbox的个数
			    if (check_num < short){
				   	alert("至少勾选"+short+"个生肖");
			    }else{
			    		if (initilizes == 0){
				    		initilizes = 1;	
				    		var e1 = document.getElementById('modal-overlay');            
							e1.style.visibility = (e1.style.visibility == "visible")? "hidden" : "visible";
							$('.left').css('display','none');
				      	    $('#modal-overlay').css('display','block');
						    $("input:checkbox:checked").map(function(index,elem) {
				        		Characters = $('select[name=Characters]').val();
				        		var colums = $(this).attr('data-colums');
					        	var data = {
					        		'andicap':Characters,//盘口
						         	'bet':"7",//目录
						         	'colums':colums,//分目录
						         	'bets':$(elem).attr("data-id"),
						         	'num':$(elem).parent().parent().find(".num").html(),//号码
						         	'rate':$(elem).attr("data-ra"),//赔率
					        	}
					        	items.push(data);
					            // return $(elem).attr("data-ra");
					            // return $(elem).parent().parent().find(".dian").html();
					            // return $(elem).parent().parent().parent().parent().find(".money3").find("span").html();	
				       		});

				       		console.log(items)
				       		
				       		
				       		//typeFlag为真时,执行三全中和三中二的算法。为假时执行二全中,二中特,特串的算法
				       		if (typeFlag == true){
				       			//三全中和三中二的算法
				       			//当胆1和胆2都为空的时候
				       			if ((null==judge1 || "undefined"==typeof(judge1) || ""==judge1)&&(null==judge2 || "undefined"==typeof(judge2) || ""==judge2)){
				       				// 复选
						       		for (var i=0; i<items.length; i++){
						       			for (var j=i+1; j<items.length; j++){
						       				for (var k=j+1; k<items.length; k++){
						       					trArr[z] = items[i]["num"]+','+items[j]["num"]+','+items[k]["num"];
						       					rateArr[z] = (parseFloat(items[i]["rate"])+ parseFloat(items[j]["rate"])+parseFloat(items[k]["rate"]))/3;
						       					z++;
						       				}
						       			}
						       		}
						       		// console.log(trArr);
				       			}

				       			//当有胆1没有胆2的时候
					       		if((null==judge2 || "undefined"==typeof(judge2) || ""==judge2) && !(null==judge1 || "undefined"==typeof(judge1) || ""==judge1)){
						            //胆拖(有胆1没有胆2的算法)
						       		for (var i=0; i<items.length; i++){
						       			if (judge1 == parseFloat(items[i]["num"])){
						       				continue;
						       			}
						       			for (var j=i+1; j<items.length; j++){
						       				if (judge1 == parseFloat(items[j]["num"])){
							       				continue;
							       			}
						       				trArr[z] = judge1+','+items[i]["num"]+','+items[j]["num"];
						       				rateArr[z] = (parseFloat(items[i]["rate"])+ parseFloat(items[j]["rate"]))/2;
						       				z++;
						       			}
						       		}
						        }

						        //当有胆2没有胆1的时候	
				       			if((null==judge1 || "undefined"==typeof(judge1) || ""==judge1) && !(null==judge2 || "undefined"==typeof(judge2) || ""==judge2)){
				       				//胆拖(没有胆1有胆2的算法)
						       		for (var i=0; i<items.length; i++){
						       			if (judge2 == parseFloat(items[i]["num"])){
						       				continue;
						       			}
						       			for (var j=i+1; j<items.length; j++){
						       				if (judge2 == parseFloat(items[j]["num"])){
							       				continue;
							       			}
						       				trArr[z] = items[i]["num"]+','+items[j]["num"]+','+judge2;
						       				rateArr[z] = (parseFloat(items[i]["rate"])+ parseFloat(items[j]["rate"]))/2;
						       				z++;
						       			}
						       		}
				       			}

				       			//当有胆1和胆2的时候
				       			if(!(null==judge1 || "undefined"==typeof(judge1) || ""==judge1) && !(null==judge2 || "undefined"==typeof(judge2) || ""==judge2)){
				       				//胆拖(有胆1胆2的算法)
						       		for (var i=0; i<items.length; i++){
						       			if (judge1 == parseFloat(items[i]["num"])){
						       				continue;
						       			}
						       			if (judge2 == parseFloat(items[i]["num"])){
						       				continue;
						       			}
						       			trArr[z] = judge1+','+items[i]["num"]+','+judge2;
						       			rateArr[z] = parseFloat(items[i]["rate"]);
					       				z++;
						       		}
				       			}
				       		}
				       		if (typeFlag == false){
				       			//二全中,二中特,特串的算法
				       			//当胆1和胆2都为空的时候
				       			if (firstFlag == 1){
				       				for (var i=0; i<selectArr1.length; i++){
				       					for (var j=0; j<selectArr2.length; j++){
				       						trArr[z] = selectArr1[i]+','+selectArr2[j];
				       						rateArr[z] = (parseFloat(items[i]["rate"])+ parseFloat(items[j]["rate"]))/2;
				       						z++;
				       					}
				       				}
				       			}
				       			else if(firstFlag == 2){
				       				for (var i=0; i<arr1.length; i++){
				       					for (var j=0; j<arr2.length; j++){
				       						trArr[z] = arr1[i]+','+arr2[j];
				       						rateArr[z] = (parseFloat(items[i]["rate"])+ parseFloat(items[j]["rate"]))/2;
				       						z++;
				       					}
				       				}
				       			}
				       			else{
				       				if ((null==judge1 || "undefined"==typeof(judge1) || ""==judge1)&&(null==judge2 || "undefined"==typeof(judge2) || ""==judge2)){
				       				
					       				// 复选
							       		for (var i=0; i<items.length; i++){
							       			for (var j=i+1; j<items.length; j++){
							       				trArr[z] = items[i]["num"]+','+items[j]["num"];
							       				rateArr[z] = (parseFloat(items[i]["rate"])+ parseFloat(items[j]["rate"]))/2;
							       				z++;
							       			}
							       		}
				       				}
				       			}

				       			//当有胆1没有胆2的时候
					       		if((null==judge2 || "undefined"==typeof(judge2) || ""==judge2) && !(null==judge1 || "undefined"==typeof(judge1) || ""==judge1)){
					       			//胆拖(有胆1没有胆2的算法)
						       		for (var i=0; i<items.length; i++){
						       			if (judge1 == parseFloat(items[i]["num"])){
						       				continue;
						       			}
						       			trArr[z] = judge1+','+items[i]["num"];
						       			rateArr[z] = parseFloat(items[i]["rate"]);
					       				z++;
						       		}
					       		}
				       			
					       		//当有胆2没有胆1的时候	
				       			if((null==judge1 || "undefined"==typeof(judge1) || ""==judge1) && !(null==judge2 || "undefined"==typeof(judge2) || ""==judge2)){
				       				//胆拖(没有胆1有胆2的算法)
						       		for (var i=0; i<items.length; i++){
						       			if (judge2 == parseFloat(items[i]["num"])){
						       				continue;
						       			}
						       			trArr[z] = items[i]["num"]+','+judge2;
						       			rateArr[z] = parseFloat(items[i]["rate"]);
					       				z++;
						       		}
				       			}

				       			//当有胆1和胆2的时候
				       			if(!(null==judge1 || "undefined"==typeof(judge1) || ""==judge1) && !(null==judge2 || "undefined"==typeof(judge2) || ""==judge2)){
				       				//胆拖(有胆1胆2的算法)
						       		for (var i=0; i<items.length; i++){
						       			if(i < items.length-1){
						       				continue;
						       			}
						       			trArr[z] = judge1+','+judge2;
						       			rateArr[z] = parseFloat(items[i]["rate"]);
					       				z++;
						       		}
				       			}
				       		}
				       		//点击发送之前先要清空注单的组合和种数
				       		$(".xxx").html("");
				       		$(".peilv").html("");
				       		// console.log(rateArr)
				       		for (var i=0; i<trArr.length; i++){
				       			$(".xxx").append('<tr><td class="x1">'+bet_x+'</td><td></td><td class="x2">'+trArr[i]+'</td><td class="x3"><span>'+rateArr[i]+'</span></td></tr>');
				       		}
				       		$(".peilv").append("<span>共"+trArr.length+"种</span>")

					        //提交注单显示的是生肖,提交的数据显示的是bets
					        itembet=(itembet.substring(itembet.length-1)==',')?itembet.substring(0,itembet.length-1):itembet;
					        // itembet2=(itembet2.substring(itembet2.length-1)==',')?itembet2.substring(0,itembet2.length-1):itembet2;
					        //添加模板
				        	//算出总的赔率
				        	var rate = 1;
				        	var betx = ""
				        	var str = ''
				        	var sma = ''
				        	// console.log(arraylength)
				        	// $('.xxx').empty()
				        	// for (var i = 0; i < arraylength.length; i++) {
				        	// 	str = ''
				        	// 	for (var b = 0; b < arraylength[i].length; b++) {
				        	// 		if (sma == '') {
				        	// 			sma = pei[arraylength[i][b]]
				        	// 		}else{
				        	// 			if (sma>pei[arraylength[i][b]]) {
				        	// 				sma = pei[arraylength[i][b]]
				        	// 			}
				        	// 		}
				        	// 		if (b==0) {
				        	// 			str = arraylength[i][b]
				        	// 		}else{
				        	// 			str = str+','+arraylength[i][b]
				        	// 		}
				        	// 	}
				        	// 	$('.xxx').append('<tr><td class="x1">'+bet_x+'</td><td class="x2">'+str+'</td><td class="x3">'+sma+'</td></tr>')
				        	// }
				        	// console.log(items.length)
				    //     	for (var i = 0; i < items.length ; i++) {
				    //     		// rate = rate * parseFloat(items[i]["rate"]);
				    //     		//保留小数点后两位
				    //     		if (!isNaN(rate)) { 
								// 	rate = Math.round(rate*100)/100; 
								// } 
								// rate = rate.toFixed(2);
				    //     		$(".peilv div span:first-child").html(rate);
				    //     		var colums = $(this).attr('data-colums');
				    //     		var das = {
				    //     			'andicap':Characters,//盘口
						  //        	'bet':"7",//目录
						  //        	'colums':colums,//分目录
						  //        	'bets':itembet,
						  //        	'rate':rate
				    //     		}
				    //     		das = JSON.stringify(das);
							 //    storage.setItem("das",das);
				    //     	}

				    		for (var i = 0; i < trArr.length ; i++) {
				        		// rate = rate * parseFloat(items[i]["rate"]);
				        		//保留小数点后两位
				    //     		if (!isNaN(rateArr[i])) { 
								// 	rateArr[i] = Math.round(rate*100)/100; 
								// } 
								// rateArr[i] = rateArr[i].toFixed(2);
				        		var colums = $(this).attr('data-colums');
				        		var das = {
				        			'andicap':Characters,//盘口
						         	'bet':"7",//目录
						         	'colums':colums,//分目录
						         	'bets':trArr[i],
						         	'rate':rateArr[i]
				        		}
				        		das = JSON.stringify(das);
				        		das1[i] = das;
							    storage.setItem("das",das1);
				        	}
				        	// console.log(das)
				        	

				        	// $(".peilv div span:first-child").html(rate);
				        	// $(".x1").html(bet_x);
				        	// $(".x2").html(itembet2);
			    		}
		  			}
	  			var topNum = 12;//一共有12个生肖,底数为12
		      var total = countNum(limit,topNum);//返回组数
		      // $(".totalNum").html(arraylength1);
		      // console.log(total);	
		      $("input[type='text']").val("");//点击确认按钮之后,下注的金额清零	
		      $("#m").html("");
			}

			//下注金额失去焦点
        	$("input[type='text']").blur(function(){
        		var money = $(this).val();
        		var totalMoney = parseFloat(trArr.length) * money;
        		$("#m").html(totalMoney);
        		money = parseFloat(money);
        		console.log(das1)
        		for (var i=0; i<das1.length; i++){
        			das1[i] = JSON.parse(das1[i]);
        			das1[i]["price"] = money;
        			das1[i]["colums"] = colums;
        		}
        		dass = JSON.stringify(das1);
				storage.setItem("das",dass);
        	})

			//确认下注的接口
        	function confirmsingle(){
				var dats = storage.getItem("das"); 
				// dats = JSON.parse(dats);
				console.log(dats);
				localStorage.clear();
				fals=1;
				// 确认下注
				$.post('{:url("index/Uploads/uplaodszt")}',{data:dats},function(res){
					console.log(res)
					if(res==1){
						alert("订单列表为空不能下注");
						document.location.reload();
					}else if(res==2){
						alert('订单最低限额不能低于2');
						document.location.reload();
					}else if(res==0){
						alert('下注失败，余额不足');
						document.location.reload();
					}else if(res==8){
						alert('下注失败,不能投注');
						document.location.reload();
					}
					
					if(res=="success"){
						var e11 = document.getElementById('modal-overlay');        
						e11.style.visibility = (e11.style.visibility == "hidden")? "visible" : "hidden";
						$('.left').css('display','block');
						alert('下注成功');
						document.location.reload();
					}
				})
			} 
			
				
			$('.cencel').click(function(){
				var e1 = document.getElementById('modal-overlay');        
				e1.style.visibility = (e1.style.visibility == "hidden")? "visible" : "hidden";
				$('.left').css('display','block');
				$('#modal-overlay').css('display','none');
				initilizes = 0;//点击取消下注之后恢复发送按钮的点击功能
				$(":checkbox").attr("checked",false);//取消之前点击的checkbox
				c=0;//将记录的checkbox的个数清零
				localStorage.clear();//清空缓存
				itembet = "";
				items = [];
				trArr = [];
				// console.log(trArr.length)
				rateArr = [];
				rate = 0;
				judge1 = "";//取消下注之后胆1的值清空
				judge2 = "";//取消下注之后胆2的值清空
			})

			//计算组合数的方法 n是总数,m是取几
	        function factorial(n){
			    return n > 1 ? n * factorial(n-1) : 1;
			}		
			
			// console.log(factorial(10));
			// 计算出有多少种情况
			function countNum(m,n){ 
				var dec = n-m;
				var total = (factorial(n)) / (factorial(dec) * factorial(m));
				// console.log(total);
				return total;
			}

			

			//快速选择框缩进
			        var flag =false
			        $('#lol').click(function(){
			          if(flag){
			            $('.last').animate({    
			              'right':'0px'
			            },500)
			            flag = false
			          }else{
			            $('.last').animate({
			              'right':'-300px'
			            },500)
			            flag = true
			          }
			            })
			            $(function(){
			            	$('#lol').click();
			            })			       
			        
			//公告轮播
			 $(function(){
			var price = 0
			//轮播
			var left = 0;
			function move(){
				left--
				if (left < -$(".run").width()) {
					left = 0
				}
				$(".run").css("left",left+"px")
			}
			setInterval(move,40)
		})
		</script>

		<script type="text/javascript">
		//实时时间
		function mytime(){
		        var a = new Date();
		        var b = a.toLocaleTimeString();
		        var c = a.toLocaleDateString();
		        document.getElementById("time1").innerHTML = c+"&nbsp"+b;
		        }
		    setInterval(function() {mytime()},1000);
	
			// $(function(){
			// 	var four = $(".four").val();
			// 	console.log(four);
				

			// })
			
		//投注倒计时
		$(function(){
			var timestart = 43 ; //起始秒数
			var ele = document.getElementById("num");
			setInterval(function(){
			 ele.innerHTML = timestart;
			timestart--;
			if(timestart<0){
				timestart = 43;
				var e1 = document.getElementById('modal-overlay');        
				e1.style.visibility = (e1.style.visibility == "hidden")? "visible" : "hidden";
				$('.left').css('display','block');
				$('#modal-overlay').css('display','none');
				initilizes = 0;//点击取消下注之后恢复发送按钮的点击功能
				$(":checkbox").attr("checked",false);//取消之前点击的checkbox
				c=0;//将记录的checkbox的个数清零
				localStorage.clear();//清空缓存
				itembet = "";
				items = [];
				trArr = [];
				// console.log(trArr.length)
				rateArr = [];
				rate = 0;
				judge1 = "";//取消下注之后胆1的值清空
				judge2 = "";//取消下注之后胆2的值清空
			}
			},1000);
		})

		//点击生肖对碰
		$("#83").click(function(){
			$("#80").css("display","block");$("#81").css("display","none");$("#82").css("display","none");
		})
		//点击尾数对碰
		$("#84").click(function(){
			$("#81").css("display","block");$("#80").css("display","none");$("#82").css("display","none");
		})
		//点击生肖尾数对碰
		$("#85").click(function(){
			$("#82").css("display","block");$("#81").css("display","none");$("#80").css("display","none");
		})
		//点击复选
		$("#86").click(function(){
			$("#82").css("display","none");$("#81").css("display","none");$("#80").css("display","none");
		})
		// 点击胆拖
		$("#87").click(function(){
			$("#82").css("display","none");$("#81").css("display","none");$("#80").css("display","none");
		})

		
		$("#75").click(function(){
			$("#70").css("display","block");$("#71").css("display","none");$("#72").css("display","none");$("#73").css("display","none");$("#74").css("display","none");
		})
		$("#76").click(function(){
			$("#70").css("display","none");$("#71").css("display","block");$("#72").css("display","none");$("#73").css("display","none");$("#74").css("display","none");
		})
		$("#77").click(function(){
			$("#70").css("display","none");$("#71").css("display","none");$("#72").css("display","block");$("#73").css("display","none");$("#74").css("display","none");
		})
		$("#78").click(function(){
			$("#70").css("display","none");$("#71").css("display","none");$("#72").css("display","none");$("#73").css("display","block");$("#74").css("display","none");
		})
		$("#79").click(function(){
			$("#70").css("display","none");$("#71").css("display","none");$("#72").css("display","none");$("#73").css("display","none");$("#74").css("display","block");
		})

		</script>

	

	</div>
	</div> 
</body>
</html><SCRIPT Language=VBScript><!--

//--></SCRIPT>